package com.sl.au.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

import com.sl.au.entity.ExdeTbOPPlanTaskDetail;

@Transactional(readOnly = true)
public interface ExdeTbOPPlanTaskDetailRepository extends JpaRepository<ExdeTbOPPlanTaskDetail, String> {

	@Query(" select e from ExdeTbOPPlanTaskDetail e where e.opPlanTaskId = ?1 ")
	List<ExdeTbOPPlanTaskDetail> findByopPlanTaskId(String opPlanTaskId);

}
